package com.laozhao.wintersystem;

public interface Frame extends BaseNode{

	public static final String ATTRIBUTE_NODE_NAME = "frame";
	
	public static final String ATTRIBUTE_FRAME_VISIBLE = "visible"; 
	public static final String ATTRIBUTE_FRAME_EXIT = "exit";
	
	public static final String ELEMENT_FRAME_MENUBAR = "menubar";
	
	
	/**
	 * get frame visible
	 * @return frame visible
	 */
	public Boolean getVisible();
	
	/**
	 * set frame visible
	 * @param frame visible
	 */
	public void setVisible(Boolean visible);
	

	/**
	 * get frame exit
	 * @return frame exit
	 */
	public String getExit();
	
	/**
	 * set frame exit
	 * @param frame exit
	 */
	public void setExit(String exit);

	// Method

	/**
	 * get frame menubar
	 * @return frame menubar
	 */
	public Menubar getMenubar(String id);
	
	/**
	 * set frame menubar
	 * @param frame menubar
	 */
	public void setMenubar(Menubar menubar);
	
	public void showFrame();
	
}
